package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.zh.domain.Model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @TableName message_receivers
 */
@TableName(value ="message_receivers")
@Data
@ApiModel(value = "消息接收表")
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MessageReceiver extends BaseEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("唯一id")
    private Integer id;
    @ApiModelProperty("消息id")
    private Integer messageId;
    @ApiModelProperty("接收人id")
    private Integer receiverId;
    @ApiModelProperty("消息状态 0 未读 1 已读")
    private Integer status;
    private static final long serialVersionUID = 1L;
}